/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm;

import java.io.Serializable;
public class Trp_nivel implements Serializable {
	public Trp_nivel() {
	}
	
	private java.util.Set this_getSet (int key) {
		if (key == orm.ORMConstants.KEY_TRP_NIVEL_TRP_CURSO) {
			return ORM_trp_curso;
		}
		
		return null;
	}
	
	org.orm.util.ORMAdapter _ormAdapter = new org.orm.util.AbstractORMAdapter() {
		public java.util.Set getSet(int key) {
			return this_getSet(key);
		}
		
	};
	
	private int ni_id_nivel;
	
	private String ni_des_nivel;
	
	private java.util.Set ORM_trp_curso = new java.util.HashSet();
	
	private void setNi_id_nivel(int value) {
		this.ni_id_nivel = value;
	}
	
	public int getNi_id_nivel() {
		return ni_id_nivel;
	}
	
	public int getORMID() {
		return getNi_id_nivel();
	}
	
	public void setNi_des_nivel(String value) {
		this.ni_des_nivel = value;
	}
	
	public String getNi_des_nivel() {
		return ni_des_nivel;
	}
	
	private void setORM_Trp_curso(java.util.Set value) {
		this.ORM_trp_curso = value;
	}
	
	private java.util.Set getORM_Trp_curso() {
		return ORM_trp_curso;
	}
	
	public final orm.Trp_cursoSetCollection trp_curso = new orm.Trp_cursoSetCollection(this, _ormAdapter, orm.ORMConstants.KEY_TRP_NIVEL_TRP_CURSO, orm.ORMConstants.KEY_TRP_CURSO_NIVEL_ID_NIVEL, orm.ORMConstants.KEY_MUL_ONE_TO_MANY);
	
	public String toString() {
		return String.valueOf(getNi_id_nivel());
	}
	
}
